#ifndef __CRC16_H
#define __CRC16_H

//-----------------------------------------------------------------------------
#include "types.h"

//-----------------------------------------------------------------------------
U16 CRC16(U32 crc, U8 *buffer, U32 length);
U16 MODBUS_CRC16(U8 *buffer, U16 length);

#endif

